package com.turnengine.client.local.unit.list;

import java.util.Collection;

import com.turnengine.client.local.unit.interfaces.IUnitIdContainer;

/**
 * The I Parent Unit.
 */
public interface IParentUnit extends IUnitIdContainer {

	int children();

	boolean hasChildren();

	IChildUnit getChild(int unitId);

	long getChildAmount(int unitId);

	boolean containsChild(int unitId);

	Collection<IChildUnit> getChildren();

	void setChildAmount(int unitId, long amount);

	void addChild(IChildUnit child);
}
